﻿using System;
namespace DTcms.Model
{
	/// <summary>
	/// 工长预约表 dt_foreman_apply
	/// </summary>
	[Serializable]
	public partial class foreman_apply
	{
		public foreman_apply()
		{}
		#region Model
		private int _id;
		private int _foreman_id=0;
		private int _apply_type=1;
		private string _apply_name;
		private string _apply_phone;
		private string _apply_city;
		private string _apply_summary;
		private string _apply_info;
		private int _apply_src=1;
		private int _apply_status=1;
		private DateTime _apply_addtime= DateTime.Now;
		private int? _apply_handler;
		private DateTime? _apply_handtime;
		private string _apply_note;
		/// <summary>
		/// 自增预约id
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 预约工长id，不指定工长时为0
		/// </summary>
		public int foreman_id
		{
			set{ _foreman_id=value;}
			get{return _foreman_id;}
		}
		/// <summary>
		/// 预约类型1预约 2量房 3报价 4设计 5参观 6工长加盟  7设计师加盟 8建材
		/// </summary>
		public int apply_type
		{
			set{ _apply_type=value;}
			get{return _apply_type;}
		}
		/// <summary>
		/// 预约人姓名
		/// </summary>
		public string apply_name
		{
			set{ _apply_name=value;}
			get{return _apply_name;}
		}
		/// <summary>
		/// 预约手机号
		/// </summary>
		public string apply_phone
		{
			set{ _apply_phone=value;}
			get{return _apply_phone;}
		}
		/// <summary>
		/// 预约城市，如河南省,郑州市
		/// </summary>
		public string apply_city
		{
			set{ _apply_city=value;}
			get{return _apply_city;}
		}
		/// <summary>
		/// 根据不同类型，保存不同内容，前台写死
		/// </summary>
		public string apply_summary
		{
			set{ _apply_summary=value;}
			get{return _apply_summary;}
		}
		/// <summary>
		/// 预约工长姓名,可多个分隔--加盟时自行填写内容等等
		/// </summary>
		public string apply_info
		{
			set{ _apply_info=value;}
			get{return _apply_info;}
		}
		/// <summary>
		/// 预约来源1. 电脑端 2.手机端 
		/// </summary>
		public int apply_src
		{
			set{ _apply_src=value;}
			get{return _apply_src;}
		}
		/// <summary>
		/// 预约状态1. 待确认 2. 已确认待安排 3. 已完成 4.作废预约
		/// </summary>
		public int apply_status
		{
			set{ _apply_status=value;}
			get{return _apply_status;}
		}
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime apply_addtime
		{
			set{ _apply_addtime=value;}
			get{return _apply_addtime;}
		}
		/// <summary>
		/// 点开预约，并点击确认的人
		/// </summary>
		public int? apply_handler
		{
			set{ _apply_handler=value;}
			get{return _apply_handler;}
		}
		/// <summary>
		/// 确认时间，点击预约后的确认时间
		/// </summary>
		public DateTime? apply_handtime
		{
			set{ _apply_handtime=value;}
			get{return _apply_handtime;}
		}
		/// <summary>
		/// 处理备注内容
		/// </summary>
		public string apply_note
		{
			set{ _apply_note=value;}
			get{return _apply_note;}
		}
		#endregion Model

	}
}

